﻿@model LeadMaster.Models.CompanyRegistered

@using (Ajax.BeginForm(
   "EditRegistration", "Leads", null,
    new AjaxOptions
{
    HttpMethod = "Post",
    UpdateTargetId = "companyregistrations"
}, new { @id = "formCompanyRegistration" }))
{
   @Html.ValidationSummary(true)
   @Html.HiddenFor(m => m.CompanyID)
    <fieldset>
    <legend>Registrations</legend>
    @Html.HiddenFor(m => m.CompanyRegisteredID)    
    <div>
        <table class="listtable contactstable" cellspacing="0" cellpadding="0" style="width: 850px;" id="groupquestionlist">
        <tr>
        <th style="text-align: left">Description</th>                        
        <td>@Html.TextBoxFor(m => m.Description, new { @class = "largetextbox" })</td>
        </tr>
        <tr>
        <th style="text-align: left">Lead Question</th>
        <td>@Html.TextAreaFor(m => m.LeadQuestion, new { @class = "largenotes" })</td>
        </tr>
        <tr>
        <th style="text-align: left">Mandatory Lead Question</th>
        <td>@Html.CheckBoxFor(m => m.MandatoryLeadQuestion)</td>
        </tr>
        <tr>
        <th style="text-align: left">Can Repair</th>
        <td>@Html.CheckBoxFor(m => m.CanRepair)</td>
        </tr>
        <tr>
        <th style="text-align: left">Can Replace</th>
        <td>@Html.CheckBoxFor(m => m.CanReplace)</td>
        </tr>
        <tr>
        <th style="text-align: left">Guidance Note</th>
        <td>@Html.TextAreaFor(m => m.Notes, new { @class="notes"})</td>
        </tr>
        </table>
    </div>
    </fieldset>
}
